<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" template="/template/template.xhtml">
	<ui:define name="head">
		<link rel="stylesheet"
			href="/resources/plugins/datatables/dataTables.bootstrap.css" />
		<style>
.headline {
	height: 150px;
	width: 200px;
	background: url("timg.png");
	background-size: 200px 150px;
	background-repeat: no-repeat;
}

.error-page>.error-content {
	float: left;
	margin-left: 0;
}

.error-content p, .error-page>.error-content>h3 {
	font-style: italic;
	color: #408596;
	font-size: 28px;
	font-weight: bold;
	font-family: monospace;
}
</style>
	</ui:define>
	<ui:define name="content">
		<div class="error-page">
			<h2 class="headline"></h2>

			<div class="error-content">
				<h3>
					<i class="fa fa-warning text-yellow"></i> 对不起!
				</h3>

				<p>您没有权限访问! </p>
				<button class="btn btn-primary" style="margin-left: 128px;"
					onclick="redirectUrl()">返回主页</button>


			</div>
		</div>
	</ui:define>
	<ui:define name="contentend">
		<script>
			function redirectUrl() {
				parent.parent.location.href = "index.xhtml";
			}
		</script>
	</ui:define> 
</ui:composition>
